import request from '@/utils/request'

// 查询列表
export function listCustomer(query) {
  return request({
    url: '/customerManage/registerCustomerAud/list',
    method: 'get',
    params: query
  })
}

// 查询详细
export function getCustomer(id) {
  return request({
    url: '/customerManage/registerCustomerAud/getById?id=' + id,
    method: 'get'
  })
}



// 新增
export function addCustomer(data) {
  return request({
    url: '/customerManage/registerCustomerAud/add',
    method: 'post',
    data: data
  })
}

// 修改
export function updateCustomer(data) {
  return request({
    url: '/customerManage/registerCustomerAud/edit',
    method: 'put',
    data: data
  })
}
